.class Lcom/baidu/i;
.super Ljava/lang/Thread;


# instance fields
.field final synthetic a:Z

.field final synthetic b:Lcom/baidu/c;


# direct methods
.method constructor <init>(Lcom/baidu/c;Z)V
    .locals 0

    iput-object p1, p0, Lcom/baidu/i;->b:Lcom/baidu/c;

    iput-boolean p2, p0, Lcom/baidu/i;->a:Z

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    iget-object v0, p0, Lcom/baidu/i;->b:Lcom/baidu/c;

    invoke-static {v0}, Lcom/baidu/c;->a(Lcom/baidu/c;)Lorg/json/JSONObject;

    move-result-object v0

    monitor-enter v0

    :try_start_0
    iget-object v1, p0, Lcom/baidu/i;->b:Lcom/baidu/c;

    invoke-static {v1}, Lcom/baidu/c;->a(Lcom/baidu/c;)Lorg/json/JSONObject;

    move-result-object v1

    const-string v2, "hangup"

    iget-boolean v3, p0, Lcom/baidu/i;->a:Z

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    iget-object v1, p0, Lcom/baidu/i;->b:Lcom/baidu/c;

    invoke-static {v1}, Lcom/baidu/c;->c(Lcom/baidu/c;)V

    const-string v1, "AdCache.setHangup"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-boolean v3, p0, Lcom/baidu/i;->a:Z

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/baidu/bk;->b(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    :try_start_1
    monitor-exit v0

    return-void

    :catch_0
    move-exception v1

    const-string v2, "AdCache.setHangup"

    invoke-static {v2, v1}, Lcom/baidu/bk;->a(Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    throw v1
.end method
